package com.scorpio.scbasics.rediostation.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

/**
 * 【请填写功能名称】对象 biz_banner
 *
 * @author scorpio
 * @date 2020-10-14
 */
@Data
@TableName("biz_banner")
public class BizBannerDTO {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    private String title;

    /**
     * $column.columnComment
     */
    @JsonProperty("banner_img")
    @TableField("banner_img")
    private String banner_img;

    /**
     * $column.columnComment
     */
    private String url;

    /**
     * $column.columnComment
     */

    private String text;

    /**
     * $column.columnComment
     */
    private Long sort;

    /**
     * $column.columnComment
     */
    private Long type;

    /**
     * $column.columnComment
     */
    @JsonProperty("operator_id")
    @TableField("operator_id")
    private Long operator_id;

    /**
     * $column.columnComment
     */
    @JsonProperty("is_valid")
    @TableField("is_valid")
    private Long is_valid;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("create_time")
    @TableField("create_time")
    private Date create_time;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("lastupdate_time")
    @TableField("lastupdate_time")
    private Date lastupdate_time;


}
